﻿namespace KaroEngine.Exceptions
{
    public class TileOccupiedException : InvalidMoveException
    {
        public TileOccupiedException()
                : base("Tile occupied")
        {
        }

        public TileOccupiedException(Move move)
            : base("Tile occupied when moving from " + move.PositionFrom + " to " + move.PositionTo + " using tile " + move.TilePositionToMove, move)
        {
        }
    }
}